import React from "react";
import { Row,Col } from "antd";
import Header from '@/components/Header'
import Footer from '@/components/Footer'
import Navleft from '@/components/Navleft'
import Home from '@/pages/home'
import '@/style/common.less'

export default class Admin extends React.Component {
  render() {
    return (
        <Row className="containter">
            <Col span="4" className="navleft">
                <Navleft></Navleft>
            </Col>
            <Col span="20" className="main">
                <Header></Header>
                <Row className="content">
                    {/* 加载子组件 */}
                    {this.props.children}
                </Row>
                <Footer></Footer>
            </Col>
        </Row>
    );
  }
}
